<nav class="navbar navbar-default navbar-fixed-top" style="font-family: 'iconfont' !important; background: #fff; box-shadow: 0px 2px 5px #888888;">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="index.html">点滴</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      
      
      <ul class="nav navbar-nav navbar-right">
        <div class="navbar-form navbar-left">
        <div class="form-group">
          <input type="text" class="form-control" placeholder="搜索" id="nav_search_bar">
        </div>
        <button type="submit" class="btn btn-default" id="nav_search_btn">&#xe6a7;</button>
        
      </div>

        <li class="dropdown">
          <a id="nav_user_menu" href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="padding-top: 8px;padding-bottom: 8px;display: none;">
            <span><img id="nav_head_img" src="" style="width: 32px; height: 32px; background: #000;"></span>
            <span id="nav_nickname">nickname</span>
            <span class="caret"></span>
          </a>
          <ul class="dropdown-menu">
            <li><a href="data_alter.html?t=0">&#xe603; 修改资料</a></li>
            <li><a href="data_alter.html?t=1">&#xe69f; 修改头像</a></li>
            <li><a href="data_alter.html?t=2">&#xe61d; 修改密码</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="javascript:;" id="logout_link">&#xe60d; 退出登录</a></li>
          </ul>
        </li>

        <li id="nav_login" style="margin-right: 8px;">
          <button type="button" class="btn btn-default navbar-btn" id="nav_login_btn">登录</button>
          <button type="button" class="btn btn-default navbar-btn" id="nav_reg_btn">注册</button>
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>